home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / Games / Tetris / Source / Parser.h < prev    next >
Text File  |  1971-08-06  |  471b  |  25 lines

  1.  
  2. /* Generated by Interface Builder */
  3.  
  4. #import <objc/Object.h>
  5. typedef enum {INTEGER, CHAR, FLOAT, BOOLEAN, STRING, LIST} types;
  6.  
  7. typedef struct _symbolEntry {
  8.     char *name;
  9.     int link;                          // Index to next entry for block
  10.     types type;
  11.     int value;                          // Make anon. union
  12.     void *valuePtr;
  13.     int level;                          // Allow nested structures
  14. } symbolEntry;
  15.  
  16.  
  17. @interface Parser:Object
  18. {
  19.     int lastSymbolNum;          // Last index value + 1
  20.     symbolEntry *symbolTable[100];
  21. }
  22.  
  23.  
  24. @end
  25.